home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / ClassNotFoundException.java < prev    next >
Text File  |  1998-09-22  |  2KB  |  58 lines

  1. /*
  2.  * @(#)ClassNotFoundException.java    1.4 98/07/01
  3.  *
  4.  * Copyright 1995-1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  * 
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package java.lang;
  16.  
  17. /**
  18.  * Thrown when an application tries to load in a class through its 
  19.  * string name using:
  20.  * <ul>
  21.  * <li>The <code>forName</code> method in class <code>Class</code>.
  22.  * <li>The <code>findSystemClass</code> method in class
  23.  *     <code>ClassLoader</code> .
  24.  * <li>The <code>loadClass</code> method in class <code>ClassLoader</code>.
  25.  * </ul>
  26.  * <p>
  27.  * but no definition for the class with the specifed name could be found. 
  28.  *
  29.  * @author  unascribed
  30.  * @version 1.4, 07/01/98
  31.  * @see     java.lang.Class#forName(java.lang.String)
  32.  * @see     java.lang.ClassLoader#findSystemClass(java.lang.String)
  33.  * @see     java.lang.ClassLoader#loadClass(java.lang.String, boolean)
  34.  * @since   JDK1.0
  35.  */
  36. public
  37. class ClassNotFoundException extends Exception {
  38.     /**
  39.      * Constructs a <code>ClassNotFoundException</code> with no detail message.
  40.      *
  41.      * @since   JDK1.0
  42.      */
  43.     public ClassNotFoundException() {
  44.     super();
  45.     }
  46.  
  47.     /**
  48.      * Constructs a <code>ClassNotFoundException</code> with the 
  49.      * specified detail message. 
  50.      *
  51.      * @param   s   the detail message.
  52.      * @since   JDK1.0
  53.      */
  54.     public ClassNotFoundException(String s) {
  55.     super(s);
  56.     }
  57. }
  58.